<#-- Freemarker macros provided by gnizr -->
<#include "/lib/web/macro-lib.ftl"/>

<#-- macro builds the heading HTML -->
<@pageBegin pageTitle="Gnizr HelloWorld Page" cssHref=[]/>

<#-- macro builds the HTML of the top menu bar, search box etc. -->
<@headerBlock/>

<#-- macro builds the HTML of the page body -->
<@pageContent>

  <p>Please enter your message below to talk to Gnizr.</p>
  
  <#-- the meat of our Hello World -->
  <#if message?exists>
    <ul><li>Hello World!  Your Message is: ${message}</li>
    	<li>Today is ${time}</li></ul>
  </#if>
  
  <div id="login">
	<@ww.form action="sayHello.action" method="post">
	<@ww.textfield label="Message" name="message"/>
	<@ww.submit cssClass="btn" value="Post!"/>
	<@ww.actionerror/>
	</@ww.form>
  </div>

</@pageContent>

<#-- macro build the HTML of page footer -->
<@pageEnd/>